import { observable, action } from 'mobx';
import { MapPage } from 'weaver-mobile-page';
export default class ChangePoisitionStore {
    comObj = {};
    @observable mapPage = {};
    @action
    doInit = (comObj) => {
        this.comObj = comObj;
        this.openMap();
    }
    openMap = () => {
        const currentPath = this.comObj.props.location.pathname;
        this.mapPage = new MapPage.Store({ route: currentPath });
    }
}